/**
 * 项目API管理
 */

import request from './request.js'

// home组件 获取左侧表格的数据
export const getTableData = (params) => {
  return request({
    url: '/home/getTableData',
    mehtod: 'get',
    data: params,
    mock: true
  })
}

export const getCountData = () => {
  return request({
    url: '/home/getCountData',
    method: 'get',
    mock: true
  })
}

export const getEchartData = () => {
  return request({
    url: '/home/getChartData',
    method: 'get',
    mock: true
  })
}